home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / prntutil / dj_1stwd / dj_1stwd.hex < prev   
Text File  |  1995-04-25  |  7KB  |  194 lines

  1. ****************************************************************
  2. *
  3. *    Hewlett-Packard DeskJet Printer Driver Configuration Table
  4. *    For use with First Word Plus
  5. *    This file contains tables defining the code sequences
  6. *    to be sent to the printer to perform various functions
  7. *    and to access the characters from codes in the Atari
  8. *    character set.
  9. *    Author: STAN LIEBOWITZ; FREDERICK MORA
  10. ****************************************************************
  11.  
  12. *
  13. * Name of printer
  14. * ===============
  15. *
  16. HP DeskJet
  17.  
  18.  
  19. *    Configuration variables
  20. *    =======================
  21. *
  22. *    These six variables define certain printer
  23. *    configuration details required by 1st Word Plus:
  24. *
  25. *    (1)  1 for microspacing daisywheel, else 0
  26. *    (2)  Character width in printer units (daisy)
  27. *    (3)  Linefeed height in printer units
  28. *    (4)  Mid-carriage (daisy) pixels/inch (matrix) (96H for 150 dpi)
  29. *    (5)  Bold offset in printer units (daisy)
  30. *    (6)  1 to pause printing between pages, else 0
  31.  
  32.  
  33. 0, 0, C, 96, 0, 0
  34.  
  35.  
  36. *
  37. * Printer characteristics
  38. * =======================
  39. *
  40. * This table specifies the printer command sequences.
  41. * If the top bit of a code is set, then this indicates the position
  42. * of a parameter passed to the printer. The code whose top bit is set
  43. * in this table is added to the parameter passed before being sent to the
  44. * printer. It is not used in all command sequences, only in those where 
  45. * the printer requires  a variable value such as the length of a vertical 
  46. * tab.
  47. *
  48. * 0            * Character width
  49. 1, D, A        * Linefeed WITH return
  50. * 2            * Forward print
  51. * 3            * Reverse print
  52. * 4            * Vertical tab to line 
  53. * 5            * Absolute horizontal tab 
  54. 6, 1B, 28, 73, 33, 42      * Draft bold on:            Esc ( s 3 B
  55. 7, 1B, 28, 73, 30, 42      * Draft bold off:           Esc ( s 0 B
  56. 8, 1B, 28, 73, 33, 42    * Near Letter Quality bold on:Esc ( s 3 B
  57. 9, 1B, 28, 73, 30, 42      * NLQ bold off:             Esc ( s 0 B
  58. A, 1B, 26, 64, 32, 44 * "Draft italic" on (double fixed Underline):   
  59. B, 1B, 26, 64, 40          * Draft italic off          Esc & d @
  60. C, 1B, 26, 64, 32, 44      * NLQ italic on (double fixed Underline): 
  61. D, 1B, 26, 64, 40         * NLQ italic off            Esc & d @
  62. * E            * Draft light on
  63. * F            * Draft light off
  64. *10, 1B, 78, 0  * NLQ light on
  65. *11, 1B, 78, 1  * NLQ light off
  66. 12, 1B, 28, 73, 2B, 31, 55, 1B, 28, 73, 36, 56,  * Draft superscript on with 6 point superscript:
  67. 13, 1B, 28, 73, 30, 55, 1B, 28, 73, 31, 32, 56  * Draft superscript off (back to 12 point):
  68. 14, 1B, 28, 73, 2B, 31, 55, 1B, 28, 73, 36, 56,  * NLQ superscript on with 6 point superscript: 
  69. 15, 1B, 28, 73, 30, 55, 1B, 28, 73, 31, 32, 56 * NLQ superscript off (back to 12 point):   
  70. 16, 1B, 28, 73, 2D, 31, 55, 1B, 28, 73, 36, 56 * Draft subscript on with 6 point subscript: 
  71. 17, 1B, 28, 73, 30, 55, 1B, 28, 73, 31, 32, 56 * Draft subscript off (back to 12 point): 
  72. 18, 1B, 28, 73, 2D, 31, 55, 1B, 28, 73, 36, 56 * NLQ subscript on with 6 point subscript:   
  73. 19, 1B, 28, 73, 30, 55, 1B, 28, 73, 31, 32, 56 * NLQ subscript off (back to 12 point):  
  74. 1A, 1B, 26, 64, 31, 44 * Draft underline (single fixed) on: 
  75. 1B, 1B, 26, 64, 40  * Draft underline off:       Esc & d @
  76. 1C, 1B, 26, 64, 31, 44 * NLQ underline (single fixed) on:   
  77. 1D, 1B, 26, 64, 40  * NLQ underline off:         Esc & d @
  78. 1E, 1B, 26, 6C, 30, 48   * Formfeed              Esc & l 0 H
  79. *1F, 12         * Horizontal initialisation
  80. *20, C          * Vertical initialisation
  81. 21, 1B, 45      * Termination: printer reset     Esc E
  82. 22,  8                        * Backspace
  83. 23,  D                       * Carriage return
  84. *24, 1B, 26, 6c, 66, 50                * Form length in lines
  85. *25, 1B, , 1B, 32        * Set line feed to N units
  86. *26  * Start graphics  
  87. * 27                          * Reserved
  88. 28, 1B, 28, 73, 31, 51, 1B, 28, 73, 31, 30, 48      * Draft Pica      (10   cpi)
  89. 29, 1B, 28, 73, 32, 51, 1B, 28, 73, 31, 30, 48              * NLQ   Pica      (10   cpi)
  90. *2A                           * Draft Elite     (12   cpi)
  91. * 2B                          * NLQ   Elite     (12   cpi)
  92. 2C, 1B, 28, 73, 31, 36, 48    *draft Condensed (17 cpi)
  93. 2D, 1B, 28, 73, 31, 36, 48    * NLQ   Condensed (17 cpi)
  94. 2E, 1B, 28, 73, 30, 35, 48    * Draft Expanded  ( 6   cpi)
  95. 2F, 1B, 28, 73, 30, 35, 48    * NLQ   Expanded  ( 6   cpi)
  96.  
  97. 0              * NULL termination byte
  98.  
  99. *
  100. * Translation Table
  101. * =================
  102. *
  103. * This table provides translation from single Atari input bytes into
  104. * multiple printer codes, and is useful for printing extraneous
  105. * characters such as accented characters etc. All characters are 
  106. * subjected to translation, but if there is no entry in the table for
  107. * a particular code, then the original code is sent to the printer.
  108. *
  109. * The entries must be arranged in ascending order of Atari input
  110. * code. The table is NULL terminated.
  111. * This table assumes that the HP DeskJet printer is set in 
  112. * PC8 Character Set (Switches A1 to A4 down)
  113.  
  114. 0                                  * NULL: print a space 
  115. 1             * No Up arrow
  116. 2             * No Down arrow
  117. 3             * No Right arrow
  118. 4             * No Left arrow
  119. 5             * No close box
  120. 6             * No size box
  121. 7             * No full box
  122. 8             * No tick
  123. 9             * No clock
  124. A             * No bell
  125. B, 0D                              * musical note
  126. E             * No LH Atari symbol     
  127. F             * No RH Atari symbol
  128. 10, 30        * LCD 0
  129. 11, 31        * LCD 1
  130. 12, 32        * LCD 2    
  131. 13, 33        * LCD 3
  132. 14, 34        * LCD 4
  133. 15, 35        * LCD 5
  134. 16, 36        * LCD 6
  135. 17, 37        * LCD 7     
  136. 18, 38        * LCD 8
  137. 19, 39        * LCD 9     
  138. 7F                       * No triangle
  139. 9E, E1                   * Esszet
  140. B0         * No Lower case a tilde
  141. B1         * No Lower case o tilde
  142. B2         * No Capital crossed O 
  143. B3         * No Lower case crossed o
  144. B4         * No lower case oe dipthong
  145. B5                       * No capital OE dipthong
  146. B6, 41                   * No capital A grave: print A
  147. B7, 41                   * No capital A tilde: print A
  148. B8, 4F                   * No capital O tilde: print O
  149. B9         * No Umlaut
  150. BA, 27                   * Acute: print '
  151. BB, C5                   * Dagger
  152. BC, 15                   * Paragraph symbol
  153. BD                       * No copyright symbol
  154. BE                       * No Registered symbol
  155. BF                       * No Trademark symbol
  156. C0        * No ij ligature
  157. C1        * No IJ ligature
  158. C2        * No Hebrew...
  159. C3
  160. C4
  161. C5
  162. C6
  163. C7
  164. C8
  165. C9
  166. CA
  167. CB
  168. CC
  169. CD
  170. CE
  171. CF
  172. D0
  173. D1
  174. D2
  175. D3
  176. D4
  177. D5
  178. D6
  179. D7
  180. D8
  181. D9
  182. DA
  183. DB
  184. DC
  185. DD, 14       * Section mark 
  186. DE, 5E       * Dropped circumflex
  187. DF, EC       *  infinity
  188. FE           * No superior 3
  189. FF        * No macron     
  190. 0
  191.  
  192.  
  193.